package com.wits.platform.common.exception;

public class I18nServiceException extends ServiceException{

	/**
	 * 
	 */
	private static final long serialVersionUID = 4894200786019720755L;
	
	private String errorKey;
	
	public I18nServiceException(){
		super();
	}
	
	public I18nServiceException(String errorKey){
		this.errorKey=errorKey;
	}
	
	public I18nServiceException(String errorKey,Throwable cause){
		super(cause);
		this.errorKey=errorKey;
	}

	public String getErrorKey() {
		return errorKey;
	}

	public void setErrorKey(String errorKey) {
		this.errorKey = errorKey;
	}

}
